package com.hsogoo.study.externalizedconfiguration.config;

import com.hsogoo.study.externalizedconfiguration.bean.Person;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author huangsaigang
 * Created @2019-09-30.
 */
@Configuration
public class PersonConfiguration {

    @Bean
    public Person person(){
        return new Person();
    }
}
